﻿<%@ Page Language="C#" MasterPageFile="~/Deparment/Mother/MasterPageShow.master" AutoEventWireup="true" CodeFile="Files_save.aspx.cs" Inherits="Deparment_Filse_Files_save" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Agency" Runat="Server">
 <div style="text-align:center; height:800px">
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
             
            <td class="intro_wordbg">
                <span style="color: #0057db">已有文件</span></td>
            <td background="../../images/intro_left.gif ">
               </td>
        </tr>
    </table>
    <table id="tabData" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="height: 24px">
                标 题：</td>
            <td style="height: 24px">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="input_text" InvertedComma="标  题"></asp:TextBox></td>
            <td style="height: 24px">
                <asp:Button ID="Button1" runat="server" Text="" CssClass="button_Query" OnClientClick="javascript:return CheckForm();" /></td>
            <td>
                <input type="submit" name="btnSubmit" value="删除" class="button_bg" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"
                    id="Submit1" /></td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="99%" CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDataBound="GridView1_RowDataBound"   >
      
        <Columns>
            <asp:BoundField DataField="AddDate" HeaderText="日期" >
                <ItemStyle Width="15%" />
            </asp:BoundField>
            <asp:BoundField DataField="Title" HeaderText="标题" >
                <ItemStyle Width="15%" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="内容">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Content") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemStyle Width="50%" />
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Content") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="删除"  >
                <ItemStyle Width="10%"  />
                <ItemTemplate > 
                   <input name="chk" type="checkbox"  value='<%# DataBinder.Eval(Container.DataItem, "EmailId")%>' />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="EmailId" />
            <asp:TemplateField HeaderText="修改">
             <ItemStyle Width="8%" />
            </asp:TemplateField>
        </Columns>
      
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#EFF3FB" />
        <EditRowStyle BackColor="#2461BF" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#D6E6F0" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    
     </div>
</asp:Content>

